package samsung.sds.survey.surveyVote.model;

import java.util.Date;

/**
 * @author lixin.qiu  
 * @createDate 2016-01-18
 * 
 * 投票单选多选问题的选项实体类
 */
public class QuestionOptionDTO extends QuestionOptionKeyDTO {
	private String questionId;
	private String optionValue;

	public String getQuestionId() {
		return questionId;
	}

	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}

	public String getOptionValue() {
		return optionValue;
	}

	public void setOptionValue(String optionValue) {
		this.optionValue = optionValue;
	}

	/**
	 * 选项是否选中
	 */
	private boolean checkValue;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TF_F_QUESTION_OPTIONITEMT.OPTION_NAME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    private String optionName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TF_F_QUESTION_OPTIONITEMT.CREATE_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    private Date createTime;
    
    
    public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	public String width;

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	private int count;
	
	private String percent;

    public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TF_F_QUESTION_OPTIONITEMT.CREATE_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    private String createUser;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    private Date lastModifyTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    private String lastModifyUser;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column TF_F_QUESTION_OPTIONITEMT.OPTION_NAME
     *
     * @return the value of TF_F_QUESTION_OPTIONITEMT.OPTION_NAME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public String getOptionName() {
        return optionName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column TF_F_QUESTION_OPTIONITEMT.OPTION_NAME
     *
     * @param optionName the value for TF_F_QUESTION_OPTIONITEMT.OPTION_NAME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public void setOptionName(String optionName) {
        this.optionName = optionName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column TF_F_QUESTION_OPTIONITEMT.CREATE_TIME
     *
     * @return the value of TF_F_QUESTION_OPTIONITEMT.CREATE_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column TF_F_QUESTION_OPTIONITEMT.CREATE_TIME
     *
     * @param createTime the value for TF_F_QUESTION_OPTIONITEMT.CREATE_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column TF_F_QUESTION_OPTIONITEMT.CREATE_USER
     *
     * @return the value of TF_F_QUESTION_OPTIONITEMT.CREATE_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column TF_F_QUESTION_OPTIONITEMT.CREATE_USER
     *
     * @param createUser the value for TF_F_QUESTION_OPTIONITEMT.CREATE_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_TIME
     *
     * @return the value of TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_TIME
     *
     * @param lastModifyTime the value for TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_TIME
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_USER
     *
     * @return the value of TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public String getLastModifyUser() {
        return lastModifyUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_USER
     *
     * @param lastModifyUser the value for TF_F_QUESTION_OPTIONITEMT.LAST_MODIFY_USER
     *
     * @mbggenerated Fri Dec 11 09:46:54 CST 2015
     */
    public void setLastModifyUser(String lastModifyUser) {
        this.lastModifyUser = lastModifyUser;
    }

	public boolean isCheckValue() {
		return checkValue;
	}

	public void setCheckValue(boolean checkValue) {
		this.checkValue = checkValue;
	}
	
    
}